﻿using log4net;
using Quartz;
using System.Threading.Tasks;

namespace NiuBeService.Jobs
{
    [DisallowConcurrentExecution]
    class HelloWorld : IJob
    {
        private readonly ILog _logger = LogManager.GetLogger(nameof(HelloWorld));

        async Task IJob.Execute(IJobExecutionContext context)
        {
            _logger.Info("hello world ~ ");

            await Task.CompletedTask;
        }
    }
}
